import 'package:equatable/equatable.dart';
import 'package:backend.core/core/domain/entities/api/api_money_amount.dart';

class ApiYookassaTransactionRevocationInfo extends Equatable {
  const ApiYookassaTransactionRevocationInfo({
    required this.time,
    required this.refundedAmount,
  });

  final DateTime time;
  final ApiMoneyAmount refundedAmount;

  @override
  List<Object?> get props {
    return [
      time,
      refundedAmount,
    ];
  }
}
